package tech.aistar.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.mapper.ResumeMapper;
import tech.aistar.model.entity.Resume;
import tech.aistar.service.IResumeService;

@Service
public class ResumeServiceImpl implements IResumeService {

    @Autowired
    private ResumeMapper resumeMapper;

    @Override
    public Resume findResumeByCustomerId(Integer id) {
        return resumeMapper.getByCustomerId(id);
    }

    @Override
    public int updateResume(Resume resume) {
       return resumeMapper.upDateByResumeId(resume);
    }
}
